
    /**  
    * @Title: Table.java
    * @Package com.demo
    * @Description: 
    * @author likai
    * @date 2017年4月9日
    * @version V1.0  
    */
    
package com.frames.table.single.operate;


import java.text.ParseException;
import java.util.StringJoiner;

/**
    * @ClassName: Table
    * @Description: 
    * @author likai
    * @date 2017年4月9日
    *
    */

public  class Table {
	//参与sql构成参数---start
	public SingleTableSelect[] selectCols={new SingleTableSelect()};//查询的列,默认*
	public SingleTableSort[] orderBy;//排序列
	public SingleTableColVal[] duplicateUpdateCols;//插入入数据唯一键冲突，更新字段，需为表的字段格式
	public SingleTableConditonOpreate[] conditonColOpreate;//删改查的条件列运算符
	//参与sql构成参数---end
	
	private int pageNum=1;//第几页最小值为1
	private int pageSize=10;//取出数据量
	

	
	//-----公共业务参数
	private String sign="";//签名
	private String requestFrom;//请求来源
	private String clientIp="";//客户端ip
	//-----查询业务参数
	private String keyWord;//查询关键字
	private String qStartDate;//查询开始时间
	private String qEndDate;//查询结束时间


	public static void main(String[] args) {
		System.out.println(new StringJoiner(",").add("sss").add("sss").add("sss"));
	}
	
	public SingleTableSelect[] getSelectCols() {
		return selectCols;
	}

	public SingleTableSort[] getOrderBy() {
		return orderBy;
	}

	
	public SingleTableColVal[] getDuplicateUpdateCols() {
		return duplicateUpdateCols;
	}
	
	
	public SingleTableConditonOpreate[] getConditonColOpreate() {
		return conditonColOpreate;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	
	public int getPageNum() {
		return pageNum;
	}
	public int getPageSize() {
		return pageSize;
	}
	
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getClientIp() {
		return clientIp;
	}
	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}
	
	
	public String getKeyWord() {
		return keyWord;
	}
	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}
	public String getRequestFrom() {
		return requestFrom;
	}
	public void setRequestFrom(String requestFrom) {
		this.requestFrom = requestFrom;
	}
	public String getqStartDate() {
		return qStartDate;
	}
	
	public void setqStartDate(String qStartDate) throws ParseException {
		this.qStartDate = qStartDate;
	}
	public String getqEndDate() {
		return qEndDate;
	}
	public void setqEndDate(String qEndDate) throws ParseException {
		this.qEndDate = qEndDate;
	}
	
	
	
}
